
//
//  UIView+Util.m
//  AoJi
//
//  Created by MinwenYi on 15-1-30.
//  Copyright (c) 2015年 xuanheng. All rights reserved.
//

#import "UIView+Util.h"

@implementation UIView (Util)
-(void)setViewBottom:(CGFloat)viewBottom
{
    self.viewBottom=self.frame.origin.y+self.frame.size.height;
    
    

}
-(void)setViewTop:(CGFloat)viewTop
{
    self.viewBottom=self.frame.origin.y;

}
-(void)setViewRight:(CGFloat)viewRight
{
    self.viewBottom=self.frame.origin.x+self.frame.size.width;
}
-(void)setViewLeft:(CGFloat)viewLeft
{

    self.viewBottom=self.frame.origin.x;
}
@end
